/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package checkers.businessLogic.game;

/**
 *
 * @author artinshahverdian
 */
public class Field {

    private Piece piece = null;

    /**
     * @return the piece
     */
    public Piece getPiece() {
        return piece;
    }

    /**
     * @param piece the piece to set
     */
    public void setPiece(Piece piece) {
        this.piece = piece;
    }

    /**
     * @return the busy
     */
    public boolean isBusy() {
        return piece != null;
    }

    /**
     * @param busy the busy to set
     */
    public void removePiece() {

        piece = null;
    }
}
